package com.enterprise.xml;

import org.junit.Test;

import com.enterprise.domXml.XmlConfigure;

public class XmlConfigureTest {
	@Test
	public void getValue() throws ClassNotFoundException{
		XmlConfigure configure=new XmlConfigure(XmlConfigure.class.getClassLoader().getResource("SiteConfi.xml").getPath());
		System.out.println(XmlConfigure.class.getClassLoader().getResource("SiteConfi.xml").getPath());
		System.out.println(configure.getVale("Sitedes"));
		
		configure.setVale("Sitedes","慕课网fdsafdsadsafdasf慕课网fdsafdsadsafdasf慕课网fdsafdsadsafdasf慕课网fdsafdsadsafdasf");
		System.out.println(configure.getVale("Sitedes"));
		
	}
}
